package com.siwei.mes.entity.experiment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * 试验台账与小票关系(ExperimentItemorder)实体类
 *
 * @author linzi
 * @since 2023-12-19 22:36:28
 */
@Data
@Accessors(chain = true)
@Table(name = "pk_experiment_itemorder")
@ApiModel(value = "ExperimentItemorder", description = "试验台账与小票关系")
public class ExperimentItemorder implements Serializable {
    private static final long serialVersionUID = -44919091068212175L;
    /**
     * 主键id
     */
    @Id
    @ApiModelProperty(value = "试验台账与小票关系主键ID", name = "id")
    private Long id;
    /**
     * 试验台账id
     */
    @Column(name = "experiment_id")
    @ApiModelProperty(value = "试验台账id", name = "experimentId")
    private Long experimentId;
    /**
     * 小票id  itemorder表中的ITID
     */
    @Column(name = "itemorder_id")
    @ApiModelProperty(value = "小票id", name = "itemorderId")
    private Integer itemorderId;
}
